<?php include_once './application/views/sys_admin/common/header.php';  ?>
<!-- admin_main -->
<div class=" definewidth m20">
	<div id="upload_error"></div>
	<iframe name="iframe" id="iframe" style="display:none;"></iframe>
	<form id="upload_form"  action="/sys_admin/forum/forum_save"  enctype="multipart/form-data" method="post" target="iframe">
		<input type="hidden" name="id" id="id" value="<?php echo $theme['id']?>"/>
		<table class="table table-bordered table-hover m10">
		 <tr>
	        <td class="tableleft">主题名称</td>
	        <td><input type="text" name="name" id="name" value="<?php echo $theme['name']?>" />  </td>
	   	</tr>
	   	<tr>
	        <td class="tableleft">主题图片</td>
	        <td><input type="file" name="thumbnail" id="thumbnail" /><br>
						<?php if($theme['thumbnail']){?>
						<img alt="主题图片" src="/<?php echo FORUM_IMG.$theme['thumbnail']?>" width="260" height="100">
						<?php }?>
			 </td>
	   	</tr>
	   	<tr>
	        <td class="tableleft">主题描述</td>
	        <td><textarea id="description" style="width:400px;height:100px;margin-top:10px;" name="description" ><?php echo $theme['description']?></textarea></td>
	   	</tr>
	   </table>
	</form>

</div>
			